<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}reset.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}default_blue.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}default_yp_blue.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}yp_common.js"></script>
</head>
<body>
<div class="body-top">
    <div class="content">
    {pc:content  action="position" posid="9" order="id" num="10" cache="3600"}
    		<div id="announ">
                 <ul>
                 {loop $data $k $v}
                      <li><a href="{$v[url]}">{$v[title]}</a></li>
                      {/loop}
                 </ul>
            </div>
     {/pc}
            <div class="login lh24 blue"><a href="{APP_PATH}index.php?m=content&c=rss&siteid={get_siteid()}" class="rss ib">rss</a><span class="rt"><script type="text/javascript">document.write('<iframe src="{APP_PATH}index.php?m=member&c=index&a=mini&forward='+encodeURIComponent(location.href)+'&siteid={get_siteid()}" allowTransparency="true"  width="500" height="24" frameborder="0" scrolling="no"></iframe>')</script></span></div>
    </div>
</div>
<div class="header">
	<div class="logo"><a href="{siteurl($siteid)}/"><img src="{IMG_PATH}v9/logo.jpg" /></a></div>
    <div class="search">
    	<div class="tab">
			{php $j=0; $siteid = get_siteid();}
			{php $search_model = getcache('search_model_'.$siteid, 'search');}
			{loop $search_model $k=>$v}
			{php $j++;}
				<a href="javascript:;" onclick="setmodel({$v['typeid']}, $(this));" style="outline:medium none;" hidefocus="true" {if $j==1 && $typeid=$v['typeid']} class="on" {/if}>{$v['name']}</a>{if $j != count($search_model)}<span> | </span>{/if}
			{/loop}
			{php unset($j);}
		</div>

        <div class="bd">
           <form action="{APP_PATH}index.php" method="get" target="_blank">
				<input type="hidden" name="m" value="search"/>
				<input type="hidden" name="c" value="index"/>
				<input type="hidden" name="a" value="init"/>
				<input type="hidden" name="typeid" value="{$typeid}" id="typeid"/>
				<input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
                <input type="text" class="text" name="q" id="q"/><input type="submit" value="搜 索" class="button" />
            </form>
        </div>
    </div>
    <div class="banner"><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=1"></script></div>
    <div class="bk3"></div>
    <div class="nav-bar">
    	<map>
		{php if(!function_exists('get_agency_url')) pc_base::load_app_func('global', 'agency');}
        	<ul class="nav-site">
            	<li><a href="{siteurl($siteid)}" class="on"><span>首页</span></a></li>
				<li class="line">|</li>
				<li><a href="{get_agency_url()}" ><span>企业黄页</span></a></li>
             {loop $this->models $r}
			 {php $r['setting'] = string2array($r['setting']);}
			 {if $r['setting']['ismenu']}
				<li class="line">|</li>
				<li><a href="{get_agency_url('model', $r['modelid'])}"><span>{$r[name]}</span></a></li>
			 {/if}
			 {/loop}
				 <li class="line">|</li>
				<li><a href="{get_agency_url('company')}"><span>企业库</span></a></li>
            </ul>
        </map>
    </div>
    <div class="subnav">
    	<div class="rt nav-car" id="buy_show" style="display:none;">购物车 <strong class="F_arial" id="buy_show_num">2</strong> 件<span> | </span> <a href="{APP_PATH}index.php?m=agency&c=index&a=buycar_list">去结算</a></div>热搜：{pc:block pos="yp_hot"}{/pc}
    </div>
</div>